package com.caiyouxi.finance.mapper;

import com.caiyouxi.finance.model.FinanceTradeReceivable;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigInteger;
import java.util.List;

/**
 * 应收/应付款项明细
 * Created by Administrator on 2017/10/18.
 */
@Mapper
public interface FinanceTradeReceivableMapper {

    //查询
    public FinanceTradeReceivable select_finance_trade_receivable(BigInteger id);

    public List<FinanceTradeReceivable> select_finance_trade_receivable_by_finance_trade_details_id(BigInteger finance_trade_detail_id);
    
    public List<FinanceTradeReceivable> get_list(FinanceTradeReceivable bean);

    //增加
    public int add_finance_trade_receivable(FinanceTradeReceivable bean);

    //修改
    public int update_finance_trade_receivable(FinanceTradeReceivable bean);

    //删除
    public int delete_finance_trade_receivable(FinanceTradeReceivable bean);

}
